package com.yin.myproject.netty.chapter05;

import com.yin.myproject.netty.ChildClientHandler;
import com.yin.myproject.netty.GenericClient;

/**
 * @author Eason
 * @create 2017-12-24 18:09
 **/
public class EchoClient extends GenericClient{

    public EchoClient(ChildClientHandler clientHandler) {
        super(clientHandler);
    }

    public static void main(String[] args) throws Exception {
        new EchoClient(new EchoClientChildHandler(new EchoClientHandler())).connect(8080,"127.0.0.1");
    }
}
